armature function